<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基础知识</title>
	<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/animate.css/3.2.3/animate.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="../../static/css/public.css" />
	<style type="text/css">
		li{
			text-indent: 2em;
			padding: 5px 0;
		}
	</style>
</head>
<body>
	<!--右边内容-->
	<div id="app" class="main animated fadeInRight">
		<div class="shadow">
			<div class="Table" v-cloak>
				<div class="TableRow" v-for="(el,index) in list">
					<a class="RowLeft" :href="'#'+el.id">{{el.name}}</a>
					<span class="RowRight">{{el.explain}}</span>
				</div>
			</div>
			<div>
				<h4 id="line">line</h4>
				<div class="F_Position">
					<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
					  <line x1="0" y1="0" x2="200" y2="100"
					  style="stroke:rgb(255,0,0);stroke-width:2"/>
					</svg>
				</div>
				<pre>
	&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.1"&gt;
	  &lt;line x1="0" y1="0" x2="200" y2="100"
	  style="stroke:rgb(255,0,0);stroke-width:2"/&gt;
	&lt;/svg&gt;
				</pre>
			</div>
			<div>
				<h4 id="lineAttr">line属性</h4>
				<ul>
					<li>x1 属性在 x 轴定义线条的开始</li>
					<li>y1 属性在 y 轴定义线条的开始</li>
					<li>x2 属性在 x 轴定义线条的结束</li>
					<li>y2 属性在 y 轴定义线条的结束</li>
				</ul>
			</div>
			<div>
				<h4 id="polyline">polyline展示</h4>
				<p>
					&lt;polyline&gt;的points属性指定了每个端点的坐标，
					横坐标与纵坐标之间与逗号分隔，点与点之间用空格分隔。
				</p>
				<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
				  <polyline points="20,20 40,25 60,40 80,120 120,140 200,180"
				  style="fill:none;stroke:black;stroke-width:3" />
				</svg>
				<pre>
	&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.1"&gt;
	  &lt;polyline points="20,20 40,25 60,40 80,120 120,140 200,180"
	  style="fill:none;stroke:black;stroke-width:3" /&gt;
	&lt;/svg&gt;				
				</pre>
				<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
				  <polyline points="0,40 40,40 40,80 80,80 80,120 120,120 120,160" 
				  style="fill:white;stroke:red;stroke-width:4" />
				</svg>
				<pre>
	&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.1"&gt;
	  &lt;polyline points="0,40 40,40 40,80 80,80 80,120 120,120 120,160" 
	  style="fill:white;stroke:red;stroke-width:4" /&gt;
	&lt;/svg&gt;				
				</pre>
			</div>
		</div>
	</div>
	<!--页面加载进度条-->
	<script src="https://cdn.bootcdn.net/ajax/libs/pace/0.5.0/pace.min.js"></script>
	<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.5.17/vue.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var app = new Vue({
			el: "#app",
			data: function() {
				return {
					list: [
						{ name: "line",id: "line",explain: '直线'},
						{ name: "line属性",id: "lineAttr",explain: 'line常用属性'},
						{ name: "polyline展示",id: "polyline",explain: ''},
					]
				}
			},
			mounted() {
			}
		})
	</script>
</body>

</html>